package com.content.Mapper.show;

import com.content.Entity.show.Program;
import com.content.Entity.show.ProgramType;
import com.content.Entity.show.UpdateOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProgramMapper {
    List<Program> getProgramList(@Param("programName") String programName, @Param("showId") String showId);

    void addProgram(Program program);

    void updateProgram(Program program);

    void deleteProgram(String programId);

    List<ProgramType> getProgramTypeList(@Param("programTypeName") String programTypeName);

    void addProgramType(ProgramType programType);

    void deleteProgramType(@Param("programTypeId") String programTypeId);

    void updateProgramType(ProgramType programType);

    List<ProgramType> getProgramTypeLists();

    void updateProgramOrder(UpdateOrder updateOrder);

    List<Program> getProgramListById(String showId);
}
